package com.starmark.message.queue.producer.api.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author starmark
 * @date 2020/5/1  上午10:35
 */
@Data
@NoArgsConstructor
public class MessageQueueDto {
    public MessageQueueDto(String topic, String message) {
        this.topic = topic;
        this.message = message;
    }


    /**
     * 消息主题
     */
    private String topic;


    /**
     * 消息内容
     */
    private String message;

}
